﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Loaded="UserControl_Loaded"
	
    xmlns:es="clr-namespace:Microsoft.Expression.Shapes;assembly=Microsoft.Expression.Drawing" x:Class="Hangout.Client.Controls.Loader.CircleLoader"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}" Height="50" Width="50">
	<UserControl.Resources>
		<Storyboard x:Name="LoadAnimation">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="path" RepeatBehavior="Forever">
				<EasingDoubleKeyFrame KeyTime="0" Value="-0.003"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="179.722"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="359.886"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	

    
	
    <Grid x:Name="LayoutRoot" Width="50" Height="50">
    	<Path x:Name="path" Data="M50,25 C50,35.111557 43.908943,44.227463 34.567085,48.096989 C25.225225,51.966511 14.472282,49.827618 7.3223324,42.67767 C0.17238259,35.527721 -1.9665092,24.774775 1.9030139,15.432916 C5.7725387,6.0910568 14.888444,0 25,0 L25,25 z" Fill="{StaticResource YellowBrush}" Margin="-0.001,0,0,-0.001" Stretch="Fill" UseLayoutRounding="False" d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" RenderTransformOrigin="0.5,0.5">
    		<Path.RenderTransform>
    			<CompositeTransform/>
    		</Path.RenderTransform>
    	</Path>
    </Grid>
</UserControl>
